var statistctsModule=new Object({
    //加载统计信息
    loadStatistics : function(){
        $.ajax({
            url : '/front/queryStatisticsByNomal',
            type : 'post',
            dataType : 'json'
        }).done(function(data){
            if(data){
                $('#fh5co-counter .scounter').empty();
                for(var i=0;i<data.length;i++){
                    var div_html='<div class="col-md-3 col-sm-6 text-center animate-box fadeInUp animated-fast">'+
                                    '<span class="icon"><i class="'+data[i].icon+'"></i></span>'+
                                    '<span class="fh5co-counter js-counter" data-from="0" data-to="'+data[i].amount+'" data-speed="5000" data-refresh-interval="50"></span>'+
                                    '<span class="fh5co-counter-label">'+data[i].category+'</span>'+
                                 '</div>';
                    $('#fh5co-counter .scounter').append(div_html);
                }
            }
        })
    }
});